import { createRouter, createWebHashHistory } from "vue-router";
import Home from '../pages/Home.vue'
import About from '../pages/About.vue'
import router1 from "./Router1.js";
import router2 from "./Router2.js";

const fatherRouter = createRouter({
    history: createWebHashHistory(),
    routes: [router1, router2,
        {
            path: '/',
            redirect: '/home'
        },
        {
            path: '/home',
            component: Home
        },
        {
            path: '/about',
            component: About
        }
    ]
})

export default fatherRouter;